update top config
support for erlang