def METHOD_NAME(outing, outing_in):
    """When updating an outing, set the default geometry to the middle point
    of a new track if proovided
    """
    geometry_in = outing_in.geometry
    if geometry_in is not None and geometry_in.geom_detail is not None:
        # update the default geom with the new track
        geometry_in.geom = get_mid_point(geometry_in.geom_detail)