update name properly