update the tip