updating styles and adding arrows