Update for elastic search