Update hooks-md.R