updating processing to mega