Update player.js