Refactoring code for Update Button Click Action - Generalizing all the code so it can be wrapped in a function and the function can be called on click of Update or on keypress of Enter
Refactoring code for Updating - Moved generalized update code into its own function, called update function in Update on click, doesn't work - investigating why