update db store method