upload mediaPattern