update style of swift