Update History Page

database issues