updated Room.java with new graph map