update loessf functions