update with hash generator