updating swipebox