FIX do not run every minute please
ADD one can override elastic_url in environment variable
CHG update types before updating locations