update stacked model