rebuild model links