Customizing create and update operations