update multiple grid database