update db new

stdClass Object
(
    [vid] => 7584649
    [uid] => 5064598
    [title] => Test resource 2 to test NDSAP compliance check 
    [log] => Edited by saatvikdhawan3515 [at] gmail [dot] com.
    [status] => 0
    [comment] => 2
    [promote] => 0
    [sticky] => 0
    [vuuid] => 8d1930ec-bb6d-4423-acf7-adf2d4a93a58
    [nid] => 6650418
    [type] => data_catalog
    [language] => 
    [created] => 1558608634
    [changed] => 1558609447
    [tnid] => 0
    [translate] => 0
    [uuid] => 9504db62-11f8-4f43-bbb9-18bed8922409
    [revision_timestamp] => 1558609447
    [revision_uid] => 5064598
    [metatags] => Array
        (
            [und] => Array
                (
                    [robots] => Array
                        (
                            [value] => Array
                                (
                                    [0] => 0
                                    [index] => 0
                                    [follow] => 0
                                    [noindex] => 0
                                    [nofollow] => 0
                                    [noarchive] => 0
                                    [nosnippet] => 0
                                    [noodp] => 0
                                    [noydir] => 0
                                    [noimageindex] => 0
                                    [notranslate] => 0
                                )

                        )

                )

        )

    [rdf_mapping] => Array
        (
            [rdftype] => Array
                (
                    [0] => sioc:Item
                    [1] => foaf:Document
                )

            [title] => Array
                (
                    [predicates] => Array
                        (
                            [0] => dc:title
                        )

                )

            [created] => Array
                (
                    [predicates] => Array
                        (
                            [0] => dc:date
                            [1] => dc:created
                        )

                    [datatype] => xsd:dateTime
                    [callback] => date_iso8601
                )

            [changed] => Array
                (
                    [predicates] => Array
                        (
                            [0] => dc:modified
                        )

                    [datatype] => xsd:dateTime
                    [callback] => date_iso8601
                )

            [body] => Array
                (
                    [predicates] => Array
                        (
                            [0] => content:encoded
                        )

                )

            [uid] => Array
                (
                    [predicates] => Array
                        (
                            [0] => sioc:has_creator
                        )

                    [type] => rel
                )

            [name] => Array
                (
                    [predicates] => Array
                        (
                            [0] => foaf:name
                        )

                )

            [comment_count] => Array
                (
                    [predicates] => Array
                        (
                            [0] => sioc:num_replies
                        )

                    [datatype] => xsd:integer
                )

            [last_activity] => Array
                (
                    [predicates] => Array
                        (
                            [0] => sioc:last_activity_date
                        )

                    [datatype] => xsd:dateTime
                    [callback] => date_iso8601
                )

        )

    [cid] => 0
    [last_comment_timestamp] => 1558608634
    [last_comment_name] => 
    [last_comment_uid] => 5064598
    [comment_count] => 0
    [domains] => Array
        (
            [1] => 1
            [122] => 122
        )

    [domain_site] => 1
    [subdomains] => Array
        (
            [0] => All affiliates
            [1] => data.gov.in
            [2] => kerala.data.gov.in
        )

    [name] => saatvikdhawan3515 [at] gmail [dot] com
    [picture] => 0
    [data] => 
    [path] => Array
        (
            [pid] => 
            [source] => node/6650418
            [alias] => 
            [language] => 
        )

    [workbench_moderation] => Array
        (
            [current] => stdClass Object
                (
                    [hid] => 24093391
                    [vid] => 7584649
                    [nid] => 6650418
                    [from_state] => draft
                    [state] => data_manager_review
                    [uid] => 5064598
                    [stamp] => 1558609447
                    [published] => 0
                    [is_current] => 1
                    [title] => Test resource 2 to test NDSAP compliance check 
                    [timestamp] => 1558609447
                )

            [my_revision] => stdClass Object
                (
                    [hid] => 24093391
                    [vid] => 7584649
                    [nid] => 6650418
                    [from_state] => draft
                    [state] => data_manager_review
                    [uid] => 5064598
                    [stamp] => 1558609447
                    [published] => 0
                    [is_current] => 1
                    [title] => Test resource 2 to test NDSAP compliance check 
                    [timestamp] => 1558609447
                )

        )

    [num_revisions] => 1
    [current_revision_id] => 7584649
    [is_current] => 1
    [is_pending] => 1
    [revision_moderation] => 1
    [field_frequency] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [tid] => 4433
                        )

                )

        )

    [field_datafile] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [fid] => 795182
                            [uid] => 5064598
                            [filename] => 027595fd-5f7b-43e8-94bd-44f1dcdce58e.csv
                            [uri] => public://datafile/027595fd-5f7b-43e8-94bd-44f1dcdce58e_12.csv
                            [filemime] => text/csv
                            [filesize] => 1267
                            [status] => 1
                            [timestamp] => 1558608634
                            [origname] => 027595fd-5f7b-43e8-94bd-44f1dcdce58e.csv
                            [type] => undefined
                            [uuid] => 3e65d842-48d5-47f5-892b-d4c606e05780
                            [rdf_mapping] => Array
                                (
                                )

                            [display] => 1
                            [description] => 
                        )

                )

        )

    [field_file_format] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [tid] => 31
                        )

                )

        )

    [field_license] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 122
                        )

                )

        )

    [field_public] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 1
                        )

                )

        )

    [field_granularity] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [tid] => 4433
                        )

                )

        )

    [field_datafile_url] => Array
        (
        )

    [field_reference_url] => Array
        (
        )

    [field_resource_type] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 1
                        )

                )

        )

    [field_resource_category] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [tid] => 4585
                        )

                )

        )

    [field_app_type] => Array
        (
        )

    [field_dataset_s_used] => Array
        (
        )

    [field_language] => Array
        (
        )

    [field_file_size] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 1267
                            [format] => 
                            [safe_value] => 1267
                        )

                )

        )

    [field_file_download_count] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_note] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => nnn
                            [format] => 
                            [safe_value] => nnn
                        )

                )

        )

    [field_date_released] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 2019-05-08 00:00:00
                            [timezone] => Asia/Kolkata
                            [timezone_db] => Asia/Kolkata
                            [date_type] => datetime
                        )

                )

        )

    [field_rating_quality] => Array
        (
        )

    [field_rating_accessibility] => Array
        (
        )

    [field_rating_usability] => Array
        (
        )

    [field_rating_request_api] => Array
        (
        )

    [field_is_visualized] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_is_api_available] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_catalog_reference] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [nid] => 6650415
                        )

                )

        )

    [field_ndsap_comp_contributor] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_ndsap_comp_data_controller] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_pricing_information] => Array
        (
        )

    [field_restricted_datafile] => Array
        (
        )

    [field_from_api] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 0
                        )

                )

        )

    [field_external_api_reference] => Array
        (
        )

    [field_keywords] => Array
        (
        )

    [field_sector] => Array
        (
        )

    [field_source] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [value] => 122
                        )

                )

        )

)