Replace edit with update