updated current state.