updated sql table for admin