Small fix and added prehash update sleep timer