udpate curl example