Added comparator update