add rename support

Signed-off-by: Chris Boertien <chris.boertien@gmail.com>