update swap animate