update document & example