updated Repository snippets