You can set a custom update script order in Project Settings > Script Execution Order See also the Docs