Fix legacy instance update segfault