update css for border