Update schema with transaction