remove S3 API from Upload image task