How To Use Painless Scripts To Dynamically Update Nested Fields In Elasticsearch