Change id and parent value for physical storage