made projects and tasks destroy dependant in model