price calculation updated