remove old token insert code