update images's path