update Endpoint and Storage