update to support elasticsearch 0.90.0