Updating Admin functions for mysqli contstructs