rewrite database to remove sprinkles