You should get the load the entity, then use the setter methods it has and then call save() on the entity. It will perform validation on the user input.