Update init routine