Added a js method to update images based on <img /> with an ID.