Updated global search both design wise and added bgp support