Temporally changing synaptic plasticity