Script that inserts/updates edges

I have developed 12 server-side scripts (using the Java API) that updates our database that is run 3 times daily. Of the 12 scripts, 3 of them update vertexes, the other 9 update edges (currently we are experimenting with lightweight edges). Due to the way relationships work for our data, we can have multiple edge references on each property that could be updated, or may have other references added or removed. To address this, at the beginning of the 3 vertex update jobs, we set all the edge properties values to ‘null’ and basically reinsert all of the data for the edges.

Is there a better way to handle this for updating edges? I tried using update edge, but that did not work as expected.