updating content and style