Update if_eq method