update deprecated 'query' routes, adjust params/etc where needed, initialize province-country in edit view script