add a callback on adapter's start function