triggers and delete cascades added