changing newrelic function call to the correct name