update the pseudoinverse