Fix Update Cost fix