Update elasticsearch indexes automatically when the model gets updated.