Updated mongodb instance in repository