Updated History and AddExpense to update and delete record