improvments to edit grid