updating customer in api