update lobby and main