Added check for root to update process.