Update on table edit