Update process_endpoint.go