updating content and styling