update plugins json struct