added cache clear upon saving of image