expose onfull api.
update documents.