set name readonly on edit