updates to hsm