AutoUpdateManager: remove code duplication

Refactor AutoUpdateManager to reduce code duplication
Change to use DEBUG_TAG for log messages a few places.