update hibernate and postgres driver