updating changing, nested lattice bug still not fixed.