update page markup when a leveldb database changes