use xorm instead of qbs
fixed update bug
Merge pull request #3 from lunny/master

use xorm instead qbs