change update_all to looping through results so that sql syntax errors are not raised
perhaps looping is not so great after all
Merge branch 'hotfix-0.8.4'