update customer save method to handle create and update