change availability boolean
not saving type - edit the controller