updating the dock menu