update curl and core