modify work_orders_controller