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

Yeah, it should use ``uploadOrUpdateFile`` as the line https://github.com/haiwen/seafile-client/blob/patch-27-implement-update-action/src/filebrowser/file-browser-dialog.cpp#L537 does