update grid example