use database store instead of file store