changed db to posgres