update the container class