update method signature for hash update to be consistent with the docs