upadate the tif image