Update Plugin.pm

Added handling for sync groups