Modifying road and vehicle databases at hills and curves