updating external ref