update curl call