Update the server and ui