updating params prototype