update cells every swipe