update price calculator