internal void Update(T toModify)
        {
            if (CreatedMarks == null)
            {
                CreatedMarks = new List <T>();
            }

            //throw new NotImplementedException();
            if (toModify.id != null && CreatedMarks.Any(x => x.id == toModify.id))
            {
                //replace the one that is currently in the list with new modification
                for (int i = 0; i < CreatedMarks.Count; i++)
                {
                    if (CreatedMarks[i].id == toModify.id)
                    {
                        CreatedMarks[i] = toModify;
                    }
                }
            }
            else
            {
                //add to list
                CreatedMarks.Add(toModify);
            }
        }