This script implements scheduled DataBase updating