update range to snap codificaton image