update values for <#toc_x>