Db+change hash function