update and delete grid cells now working