Update file name and path after drop