Pre-re SQL item db update

Thanks to Haruna,
Closes #88

Signed-off-by: shennetsind <ind@henn.et>