implement update chapters.