Tesla updates software after car hack