added an afterHistoryUpdate callback

mainly for fetching a backlog of manual entries for fitbit