update images upload mechanism