set container api to parent class