Update notifications.py

adding state meter updating based on notifications in compute.instance.*