fix update from making duplicates
create default index page with snippets