changed database gem back to pg