Update Snippet and tests

- Add view to update snippet
- Add test for the above view
- Add session options to app to prevent DetachedInstanceError