change devies to rooms