updated getNotifications