Updated player class