Update lib/core