modify KtbsRoot through edit() so that metadata are updated as well