update comparation operator