change xgb adapter