Update state entity