updated spike analysis