update formatoptions