update after init