swipe directive update