add renaming to the api