update code for merchant dynamic login