changed database to postgres