using updated apigateway