refactoring main update-function
Merge branch 'master' of github.com:lopossumi/invaders