add category render function after new category adding