update loop
Merge pull request #31 from vladikoff/loopUpdate

update loop