switch from act of as nested to ancestry with bootstrap edits