renamed serverTherad to updateServerThread