removed old images from db