update for pixi.js