Fix end of recursive update