modify post model to be able to delete associated objects