modify root img in 3 files