set name state