cleaner version of updateCustomer