Self-Update in main routine