refactored driver: now possible use with out creating instance of class
added more methods for debug
update requests now worked fine
cleaned code