removes old images and updates css