updating the dock