active title update
active state toc
build for active state