Update elasticsearch. Make config generation optional