chat frontend upgrade