edit grid for medium frame