update comparsion methods
update comparsion methods