fixed updateName