updated database to psql