update caption size