update tripcodes