tmp updates on comparison