update base: use new refresh wait queue

also pull refresh emulation improvement for emulator.