fixed destroy methof on containers
added edit functionality to containers