Refactoring Exists API sync