Changes for history log