added the feature to edit a room