updating chat core files