update plugin js