updating dock preferences