updating proxy endpoint