add plugin table to the database
todox about 3.7 update