add searchable to province and edit encode function