Update document document when adding upload