m5nr: api and tool updates