move story queue to memory from db