add state notify