make key fields unchangable