general update of APB and maybe working buffers