updat notifications method