Database class notify fix