now restarting updates the state from the server as well