update document for image