Automatically updates elasticsearch mappings