update document & rename