apply latest changes to scan plugin api
apply latest changes to scan plugin api