local play code update