added logging, fixed update of PlayerStats