update curl options