change the limit of history