updating styles to list of posts