update ref location