you need to create a new temporary attribute, shift your content in the documents, delete the old attribute, create new with same name and use the updated size, shift the content from the temporary attribute to the new one, delete the temp. attribute. use Server Side SDK.