update all refences on build