Move entity modification to repo for create