update how to set with multi params
added params variable and build query with url