Add callback to upload