rename origname to newname