update container size