Fixed newGeneration DB update