use database store task