update plugin to latest code