updated syncuri to handle custom endpoint names