fix bug--update image name when add file