implemented segment updateSynapse()
implemented add synapse function
adding segmentupdate file