Activity-dependent neural network model on scale-free networks