sqlite: change to bulk update