Update derivative.jl