add edit functionality
Merge pull request #7 from anniesing/add-random-url

add edit functionality