update styles for posts