#26 Added missing update method

Some other quick fixes for raise without exception and sample
#7 Remove import warning
Remove lots of import warnings