update room and connection