Updates to the repository pattern example