add update_account method
fix according comments in pull request
add changes to update_account method
Merge pull request #44 from averjr/master

Add update_account! method with fixes and one clear commit