Update list.
A function to update toc.