Update rpg.js