Added update from each state through statemanager(commented)