Update h2 db and switch to buffered stream