minor changes to images upload feature