Elixir - increment a field value in Ecto map

I checked Enum.with_index but I am unable to find any example with Enum.each and Enum.index.