update grid for header