updated version check