continuing work on updating tasks after clicking edit