AFS delivers Basel II segment upgrade for lending