modified the stores and models for editing grids