fixing brad's periodic db update