update content: replace cat with echo