Update ElasticaPlugin.php