updated database and grids