Revert "Partially done edit functionality"

This reverts commit 382ea277ef84d6d3a7daf57ac1fa171c26a9f9a9.