added edit function
Merge pull request #4 from kartiksaxena/edit-function

added edit function