insert / update sqlite fixed