Update table of contents after editing page.

Bug: 64447
Change-Id: Ib6a5003b770475afcdbbc14af7d90e3cc4d1e909