updating header grid