live update of product cost