functions: update autostart