Added endpoints for minhash calculation and updating