update servercallback