set model destroy dependencies