change grid definition