Update plugin structure