update chapter and section