update postgres and a few other bits