Added progressCallback to upload functions for monitoring purpose