Update ui
Cache pdf images, to speedup editing of slow document