Update staged.jl

get rid of deprecated syntax warning
Merge pull request #7105 from jakebolewski/patch-3

Update staged.jl