Update struct of yaml file.