update cost when update bill