update: apply to new dartscale API