updating image paths in markdownlines