updating swiping