persist player data