Create a stored procedure that updates the members' balance in the membership table by correctly recording the current or outstanding balance for each customer. The balance is calculated by:
income (same as total charges = rental fees + fines) - payment for each member.
The fine is calculated as:
Number of days a movie was returned late * daily late fee (present in the rentaldetail table