add update $rename support