Safe vehicle update