added Reg(update=) and Reg(reset=)
Merge pull request #37 from smirolo/master

added Reg(update=) and Reg(reset=)