update for pre to head change