update example from phaser 1.2 branch