change update single cell logic