updating notifications and other stuff