refactor(rest) onPUT: params -> name, body