update basket class