add update-env to update the server with the current clients environment variables state