Write usage
Fix duplication bug
Update