update syntax according to deprecations

plus a mark for corresponding Elixir ver