update ref in assets