update structure and add log