Abstracting parameters of creating and updating