updated curl command to be executed