update server and connection