Upgrade following DoctrineBundle