updating params