update a dataitem from the grid