updates database regulary