stores reference to plugins in database