change update to curl