Update chapter.md

Editing of modes into update and draw blocks of c plus plus