update image upload functionality and appearance