Fixing update version check