try/except code for update_status