update types and config sample spec