[update] implement fig to handle containers.