update formstyle and formstyle2