Changed to postgres and updated rails version