added scheduleDatabaseUpdate