rename and renamenx support

rename and renamenx support