Next try to fixed updating of timelines in mongo db includin a missing bracket