ajax function added for districts