Update postgres file with lookup table info