update for modern elixir