update xplayer class