Implemented  comparator
Fixed bug in the executor preventing usage of update and remove without callback