Map should update itself when it gets a new state.