updating the state with new percepts are no longer done asynchronously