update_machine_status now uses the machine to adjust the status