adding back my Agent updater code