modified upload handler for  BucketObject