update plugin install code