updating container