update part of recursive call