Set/update milestone if necessary