Update apifunctions.jl