Update Container.py

can now replace an item in the container, and the type status will be updated