Rework logic for updating synapse