update grid submit script