new image and deleted old patterns