change name to saveEdit to be more explicit