create category_filter plugin to save category attributes