update images script