Upload image and update file location