database plugin and addon work