code: @SuppressWarnings("unchecked")
  	@Override
  	public ApiRoom execute() {
  		Room sfsRoom = CommandUtil.getSfsRoom(agent, extension);
  		User sfsUser = CommandUtil.getSfsUser(user, api);
  		
          //check null
          if(sfsRoom == null)  return null;
          
          //get variables from agent
          AgentClassUnwrapper unwrapper = context.getRoomAgentClass(
                  agent.getClass()).getUnwrapper();
          List<RoomVariable> variables = 
                  new RoomAgentSerializer().serialize(unwrapper, agent);
          
          List<RoomVariable> answer = variables;
          if(includedVars.size() > 0) 
              answer = getVariables(variables, includedVars);
          answer.removeAll(getVariables(answer, excludedVars));
          
          //notify to client and serverself
          if(toClient) api.setRoomVariables(sfsUser, sfsRoom, answer);
          
          //only for server
          else sfsRoom.setVariables(answer);
          return agent;
  		
  	}
docs: Execute update room variables