update for symfony 2.2.x