update admin panel delete functionulaty