lsqfit update