Add == method for States
Add predictupdate method to do both steps in one go