Item sql update, follow up 70a6564 & bugreport:9018

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>