adding updates to hashing logistic regression