Fix erroneous data updates - store cell contents before edit and compare after before sending update to server