Update mod_rest.erl