replace the green box with th model in the reference image