changed how notifications were saved/queried on db