Adding the Update Task function to on keypress of Enter in edit mode