update phaser snippet