Updated method for detecting tracking