add update_hook for new XML