Finish the bill.
update the database.