change room code from id to room type