fixes #1 edit item and fixes #2 edit comment