-  update swipe logic