Update createFund function