bug in the update

Looks like I will have to punt and read the db into memory.