Update initialization routine