Updated samples with YAML