update ref and doc