logs class and updates