updated grid with position