Updating ruby file