added new method setUpdateMethod() according the discussion at issue #28
updated module file
cosmetic detail on expection messages
fixed