save cahnges on pkayer class