updated controllers to delete relationships as well