delete unuseful images and add new
remove unnecessary images