Added functionality to update room-data.