Update magicfomula to use the db