Typos

updatState to updateState