updating server and router