updated version validation