admin panel code changes