Update check function