refresh state id