update elasticsearch to 1.2.1

could be set on declaration