updating document title based on room name