Fix for update plugin