update contents.