updated the api subscriber implementation.