removed some unused functions from hostel
implemented update availability and basic test cases