changes for history for status flag