I found a solution
File -> Virtual Media Manager -> Removed existing images (note, I removed them only from the registry).
I followed these steps.
VirtualBox – moving a VDI file and re-linking it to the Guest
After that I could update the path in the VM settings.