update class player + animation