add relations, soft deleting