Feature #4977: Fix an issue about checkUpdate function