changed db to pg for production