creating customers and refreshing view