Updating the dock tree