Tesla has announced it’s updating its battery software following recent fires that wrecked three Model S vehicles located in Shanghai, San Francisco, and Hong Kong, respectively.

The Elon Musk-owned automaker said in a statement that its investigation is continuing, but as a safety precaution it has started to push out an over-the-air software update for Model S and Model X batteries that will revise their charge and thermal management settings.

Tesla said the update will help “further protect the battery and improve its longevity.” The California-based company added that it’s yet to identify an issue with the battery but will be sure to act if one is identified.

“The safety of our customers is our top priority,” it said.

The move comes after three Teslas caught fire while parked in less than a month.

The first incident occurred in April in Shanghai, China, when a Model S suddenly caught fire in a parking garage.

The text above is a summary, you can read full article here.