update if comparison operator