update plugin and lib