updating styles for detail view