update ref build