updating loc_ref with fresh data