update references in motspc