now updating params by global objective