updated history layout