Fix upload error caused by token expiration

Also start check_update() on first load.