fix bug while creating message, avoid double-run
improve updating function so that it can work in android v2.3
update apk