updated method of checking new versions