Update internal structure and settings