Change arithmetic in updating rake task