add hash key to key schema