updated work_orders_controller