updated database and finished update page