update the server script