Fixed INSERT, almost done UPDATE.
Merge remote-tracking branch 'origin/master'

Conflicts:
	flexidata.py