upgrade for symfony 2.5