Updated params pass through js