fixed issue related to updating an array of objects consisting of S3File type