upgrade references