changes to ChatDB