replace link to new doctrine, default session to native