UPdate yaml file for posting a message