Update MaintenancetypesController.php