update elasticsearch dependency version to 0.90.3

Update elasticsearch version : 
change dependency.yml and update code with the new ES api.