udpating the dock