update to latest version of the paper including fixes