scripts: add store_all_data function to modify script database root
scripts/reminders: make sure database update is committed