Add action:Swap
Fix bug in action:Swap
Update
Add conditions