update images and add enable replace media plugin