Fix install and update plugin