export and update plugin