update room check/refresh function