Added Edit History Functionality