updating border formatting for right