update old startup code