edit mongoose model and try DBRef
replace old definition style for mongoose model