update cell input when cell updates