Sad, neither MongooseIM, nor ejabberd use proper Erlang/OTP SASL release system, so hot updates can be done with relup (http://erlang.org/doc/man/relup.html)
Smaller modules can be upgraded from Erlang shell, but it's seems to be impossible to update a server without shutting it down.