make sure not only editing images updates urls but also RESTORING to original #142