implement update_action and change the context menu's upload to update

when it was called by (human) mistake.