added method update check.