update border style