Sync and clean