update structures and styles