update curl example