Made CUR work. Updating tree with cur using reduce(lamba)