update for jqchat