fixed the titles not resetting on update