Updates plugin structure.