change price calculation