Refreshing db constants.