added checks to see if customer already exists and if so update the customer.