export update_system sub