Update generic/function.lua