added a creditor update/create function