update contents