Update synapses script