Simplified the api a little

- You no longet have to call w:update() after changing the state.