def player updated