change player logic