change container type