Added cascading delete to db