A second battery fire in recent weeks has prompted electric vehicle maker Tesla (TSLA) - Get Report to update the software on all of its Model S and Model X vehicles worldwide. 

The update comes after a vehicle fire was discovered in Hong Kong on Sunday. It was the second time a Tesla vehicle caught fire in recent weeks after a Model S earlier was caught on video spontaneously catching fire in a car park in Shanghai. 

"Out of an abundance of caution, we are revising charge and thermal management settings on Model S and Model X vehicles," a company spokesperson said, according to CNN. 

Chinese authorities and Tesla investigators arrived on the scene of the Hong Kong fire to assess what happened to the vehicle. 

Tesla has noted that while the vehicle fires are in the news now, its vehicles "are 10 times less likely to experience a fire than a gas car." 

Tesla vehicles were also in the news Thursday after the National Transportation Safety Board said that a Florida driver engaged the car's Autopilot function about 10 seconds before crashing into a semitrailer, and the system didn't detect the driver's hands on the wheel for fewer than eight seconds before the crash. 

Tesla officially advises drivers to keep their hands on the wheel and pay attention while using the system. 

Tesla was falling Thursday, down 1.5% to $228.41, after it was revealed that institutional shareholder T. Rowe Price sold about 81% of its shares over the first three months of the year. 

According to a filing with the Securities and Exchange Commission, the fund manager held 1.7 million Tesla shares as of March 31, down from 8.9 million shares at the end of 2018. T. Rowe Price's stake in Tesla convertible bonds remains constant.