change marks atom from vector to map