updates modified chat history modal