Updated editAdviser to fix unmatch exception.