add reset function for admin