added ability to update plugin