added db export for categories