changed sql gem