Modeling insect inspired mechanisms of neural and behavioral plasticity