upgrade to be compatible with latest elixir