add delete all by external functions for medias and containers