Use generic update in State

Closes https://github.com/PistonDevelopers/event/issues/216
Merge pull request #217 from bvssvni/master

Use generic update in State