Fix consistency
Covered update/2 function, issue #29
Cleaned some code partials