update functions img check