updating image tags and file exts