fixed in updtae params, closes #16
fixed in updtae params, closes #16