modify merchant struct