Update Erlang core to latest working version