add callback to GCurl