Database management for vehicles