token to key change