Update id detection