update cash flow