updated MaintenanceController; updated index, show, edit views