editing chapters controller