updated oak in reference implementation