data creation with transaction support