Updating instantiation of repository