updating RavenDB references