Implement Transaction write