Updating quasi newton matrices with limited storage