implemented rename in api and store