update head with MPP prefix outside of if