integrated new db api and half through the admin panel