updating ruby file