Update tag when alias is set and update the complete match history