update lattice test example