update current state (WITH ERRORS!)