updated libchash