fix-update: it now supports the use of several elements (not only images)