Updating and estimating a social accounting matrix