using yaml and update