delete unuseful images and add new