database changed to postgreSQL