update fig url method