set config for tab