updating container class