code: public void updateMode(Boolean developmode) throws SecurityException {
  	checkWriteAccess();
  	boolean hasAccess = ConfigWebUtil.hasAccess(config, SecurityManager.TYPE_SETTING);
  	if (!hasAccess) throw new SecurityException("no access to update scope setting");
  
  	Element mode = _getRootElement("mode");
  	mode.setAttribute("develop", Caster.toString(developmode, ""));
      }
docs: set if it's develop mode or not
  
  @param developmode
  @throws SecurityException