update class player