Update chat structure.