update freedom functions-1.r documentation