add rebuild in history page