updating basic structure