Mechanisms of trans-synaptic regulation of gene expression