added model destroy dependencies