Revert "Removed edit functionality"

This reverts commit 412d75c96b62cc35e14efe2ed369a5ed547c0e5d.