updating the nested mangles