updating chapter progress