Update history-model.xqy