updated grid offset