public boolean updatePerf(String region, String agent, String plugin, String resource_id, String inode_id, Map<String,String> params)
    {
        boolean isUpdated = false;
        String edge_id = null;
        try
        {
            //make sure nodes exist
            String resource_node_id = getResourceNodeId(resource_id);
            String inode_node_id = getINodeId(resource_id,inode_id);
            String plugin_node_id = getNodeId(region,agent,plugin);

            //create node if not seen.. this needs to be changed.
            if(plugin_node_id == null) {
                plugin_node_id = addNode(region,agent,plugin);
                System.out.println("Added Node" + region + " " + agent + " " + plugin + " = " + plugin_node_id);
            }

            if((resource_node_id != null) && (inode_node_id != null) && (plugin_node_id != null))
            {
                //check if edge is found, if not create it
                edge_id = getResourceEdgeId(resource_id, inode_id, region, agent);
                if(edge_id == null)
                {
                    edge_id = addIsAttachedEdge(resource_id, inode_id, region, agent, plugin);
                }
                //check again if edge is found
                if(edge_id != null)
                {
                    //if(updateEdge(edge_id, params))
                    if(updateEdgeNoTx(edge_id, params))
                    {
                        isUpdated = true;
                    }
                    else
                    {
                        System.out.println("Controller : GraphDBEngine : Failed to updatePerf : Failed to update Edge params!");
                    }
                }
                else
                {
                    System.out.println("Controller : GraphDBEngine : Failed to updatePerf : edge_id not found!");
                }
            }
            else
            {
                System.out.println("Can't update missing nodes : " + resource_id + "," + inode_id + "," + plugin);
                System.out.println("Can't update missing nodes : " + resource_node_id + "," + inode_node_id + "," + plugin_node_id);
            }

        }
        catch(Exception ex)
        {
            System.out.println("Controller : GraphDBEngine : Failed to updatePerf");

        }
        return isUpdated;
    }