convert article urls, templates to use section and category models from db