Not sure about which repetition you are saying. `addSyncUrl()` and `updateSyncUrl(int id, SyncScheme scheme) ` are called separately. Should move this calls to `save()` and `update()` SyncUrl methods ?