update the box stylesheet