add nested resources categories and events