Fixed registers not updating. Broken by 2da7cd57
Merge pull request #177 from rdnelson/reg_updates

Fixed registers not updating. Broken by 2da7cd57