Resolves #7. Edit data functionality added