fix update name replacement