Updates version check function