changed sql statement for getting barangays