Fixed db duplicated problem and revised update query.
Merge branch 'master' of https://github.com/frankyanwang/SmartRead

Conflicts:
	data_store/feedinsert.js
Merge pull request #5 from madimalo/master

revised update/insert query