Updated rooms code