Update some core files