Finish the creation of cyclic functions The last part is to update vars that call into a function in the cycle