Refactor update.php to detect new 7* tags instead of commits.