update grid class