slight rework of update_status