update state info