Swaps the order `onInit` is executed before `update`

Fixes a issue that the `update()` method was executed before the
`onInit()` method.
Merge pull request #66 from andreruffert/swap-order-onInit-update

Swaps the order `onInit` is executed before `update`