Replace old definitions and URLs