fix database and integrated milestones